package com.njworkorder.DTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class JobManagementDto {
    @Schema(description = "工程量清单(清单内)")
    private List<BillOfQuantitiesDto> billOfQuantitiesDtos;
    @Schema(description = "病害和任务管联信息")
    private List<DiseaseInformationDto> diseaseInformationDtos;
    @Schema(description = "工程质量信息")
    private List<EngineeringQualityInfoDto> engineeringQualityInfoDtos;

    @Schema(description = "维修完成时间")
    private Date repairCompletionTime;
    @Schema(description = "维修意见")
    private String repairOpinion;
    @Schema(description = "初审审核时间")
    private Date initialReviewTime;
    @Schema(description = "初审意见")
    private String initialReviewOpinion;
    @Schema(description = "终审审核时间")
    private Date finalJudgmentTime;
    @Schema(description = "终审意见")
    private String finalJudgmentOpinion;

    @Schema(description = "审核状态，0未审核，1已审核，2审核不通过，3维修中，4验收待审核，5验收审核通过（初审），6验收审核不通过（初审），7验收审核通过（终审），8验收审核不通过（终审）")
    private Integer auditStatus;
    @Schema(description = "任务id")
    private String assignmentId;
    @Schema(description = "审核人id")
    private String apId;
}
